module.exports = {
    publicPath: "./",
    outputDir: "dist",
    chainWebpack(config) {
        config.module
          .rule('scss')
          .oneOf('vue')
          .use('px2rem-loader')
          .loader('px2rem-loader')
          .before('sass-loader') // this makes it work.
          .options({ remUnit: 75, remPrecision: 8 })
          .end()
    }
    
}
